\hypertarget{class_term}{\section{Term Class Reference}
\label{class_term}\index{Term@{Term}}
}


{\ttfamily \#include $<$Term.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_term_a6943005db5b7e5ca84afcb54a5862d42}{Term} ()
\item 
\hyperlink{class_term_af908cc047343b6d9aa62de100ae5eb8e}{Term} (string term)
\item 
bool \hyperlink{class_term_afa8becb1ec38030b741419551121ec2f}{operator$<$} (\hyperlink{class_term}{Term} \&rgt)
\item 
string \hyperlink{class_term_afa2aa3dead9ff259b0c74cb1353a7aaa}{get\-Term} () const 
\item 
void \hyperlink{class_term_af447fafa1c77368b59c0dec7bf08ef94}{set\-Term} (string term)
\item 
void \hyperlink{class_term_a06bcb7ca92a6a0038dd6b46df2267690}{add\-Occrances} (int occurances)
\item 
void \hyperlink{class_term_a9f7d9ffe8491569c8dcdff34ba67ab35}{add\-Occurance\-In\-Document} (int document\-I\-D)
\item 
map$<$ int, int $>$ $\ast$ \hyperlink{class_term_ac3676c850e8ae433d4f34fabd63cf479}{get\-Document\-Occurances} ()
\item 
virtual \hyperlink{class_term_af684aafab11ec6442aed0866b4973afc}{$\sim$\-Term} ()
\end{DoxyCompactItemize}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_term_a6943005db5b7e5ca84afcb54a5862d42}{\index{Term@{Term}!Term@{Term}}
\index{Term@{Term}!Term@{Term}}
\subsubsection[{Term}]{\setlength{\rightskip}{0pt plus 5cm}Term\-::\-Term (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_term_a6943005db5b7e5ca84afcb54a5862d42}
\hyperlink{class_term}{Term} default constructor \hypertarget{class_term_af908cc047343b6d9aa62de100ae5eb8e}{\index{Term@{Term}!Term@{Term}}
\index{Term@{Term}!Term@{Term}}
\subsubsection[{Term}]{\setlength{\rightskip}{0pt plus 5cm}Term\-::\-Term (
\begin{DoxyParamCaption}
\item[{string}]{term}
\end{DoxyParamCaption}
)}}\label{class_term_af908cc047343b6d9aa62de100ae5eb8e}
\hyperlink{class_term}{Term} constructor with term argument 
\begin{DoxyParams}{Parameters}
{\em term} & the term to set\\
\hline
\end{DoxyParams}
\hyperlink{class_term}{Term} constructor 
\begin{DoxyParams}{Parameters}
{\em term} & string to set as the term \\
\hline
\end{DoxyParams}
\hypertarget{class_term_af684aafab11ec6442aed0866b4973afc}{\index{Term@{Term}!$\sim$\-Term@{$\sim$\-Term}}
\index{$\sim$\-Term@{$\sim$\-Term}!Term@{Term}}
\subsubsection[{$\sim$\-Term}]{\setlength{\rightskip}{0pt plus 5cm}Term\-::$\sim$\-Term (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_term_af684aafab11ec6442aed0866b4973afc}


\subsection{Member Function Documentation}
\hypertarget{class_term_a06bcb7ca92a6a0038dd6b46df2267690}{\index{Term@{Term}!add\-Occrances@{add\-Occrances}}
\index{add\-Occrances@{add\-Occrances}!Term@{Term}}
\subsubsection[{add\-Occrances}]{\setlength{\rightskip}{0pt plus 5cm}void Term\-::add\-Occrances (
\begin{DoxyParamCaption}
\item[{int}]{occurances}
\end{DoxyParamCaption}
)}}\label{class_term_a06bcb7ca92a6a0038dd6b46df2267690}
\hypertarget{class_term_a9f7d9ffe8491569c8dcdff34ba67ab35}{\index{Term@{Term}!add\-Occurance\-In\-Document@{add\-Occurance\-In\-Document}}
\index{add\-Occurance\-In\-Document@{add\-Occurance\-In\-Document}!Term@{Term}}
\subsubsection[{add\-Occurance\-In\-Document}]{\setlength{\rightskip}{0pt plus 5cm}void Term\-::add\-Occurance\-In\-Document (
\begin{DoxyParamCaption}
\item[{int}]{document\-I\-D}
\end{DoxyParamCaption}
)}}\label{class_term_a9f7d9ffe8491569c8dcdff34ba67ab35}
Add an occurance for a certain document I\-D 
\begin{DoxyParams}{Parameters}
{\em doc\-I\-D} & \\
\hline
\end{DoxyParams}
\hypertarget{class_term_ac3676c850e8ae433d4f34fabd63cf479}{\index{Term@{Term}!get\-Document\-Occurances@{get\-Document\-Occurances}}
\index{get\-Document\-Occurances@{get\-Document\-Occurances}!Term@{Term}}
\subsubsection[{get\-Document\-Occurances}]{\setlength{\rightskip}{0pt plus 5cm}map$<$ int, int $>$ $\ast$ Term\-::get\-Document\-Occurances (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_term_ac3676c850e8ae433d4f34fabd63cf479}
Get the map of document occurances \begin{DoxyReturn}{Returns}
ptr to map$<$int (document I\-D), int (number of times this term occurs)$>$ 
\end{DoxyReturn}
\hypertarget{class_term_afa2aa3dead9ff259b0c74cb1353a7aaa}{\index{Term@{Term}!get\-Term@{get\-Term}}
\index{get\-Term@{get\-Term}!Term@{Term}}
\subsubsection[{get\-Term}]{\setlength{\rightskip}{0pt plus 5cm}string Term\-::get\-Term (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{class_term_afa2aa3dead9ff259b0c74cb1353a7aaa}
\hyperlink{class_term}{Term} getter \begin{DoxyReturn}{Returns}
the term as a string 
\end{DoxyReturn}
\hypertarget{class_term_afa8becb1ec38030b741419551121ec2f}{\index{Term@{Term}!operator$<$@{operator$<$}}
\index{operator$<$@{operator$<$}!Term@{Term}}
\subsubsection[{operator$<$}]{\setlength{\rightskip}{0pt plus 5cm}bool Term\-::operator$<$ (
\begin{DoxyParamCaption}
\item[{{\bf Term} \&}]{rgt}
\end{DoxyParamCaption}
)}}\label{class_term_afa8becb1ec38030b741419551121ec2f}
Overloaded $<$ operator 
\begin{DoxyParams}{Parameters}
{\em rgt} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}
\hypertarget{class_term_af447fafa1c77368b59c0dec7bf08ef94}{\index{Term@{Term}!set\-Term@{set\-Term}}
\index{set\-Term@{set\-Term}!Term@{Term}}
\subsubsection[{set\-Term}]{\setlength{\rightskip}{0pt plus 5cm}void Term\-::set\-Term (
\begin{DoxyParamCaption}
\item[{string}]{term}
\end{DoxyParamCaption}
)}}\label{class_term_af447fafa1c77368b59c0dec7bf08ef94}
Set the term 
\begin{DoxyParams}{Parameters}
{\em term} & string to set as term \\
\hline
\end{DoxyParams}


The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
C\-:/\-Users/\-Christopher/\-Documents/\-Net\-Beans\-Projects/pbsearch/\-Search\-Engine/\hyperlink{_term_8h}{Term.\-h}\item 
C\-:/\-Users/\-Christopher/\-Documents/\-Net\-Beans\-Projects/pbsearch/\-Search\-Engine/\hyperlink{_term_8cpp}{Term.\-cpp}\end{DoxyCompactItemize}
